<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<meta charset=" utf-8 ">
	<title>共享车位后台管理 </title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta http-equiv="Access-Control-Allow-Origin" content="*">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="icon" th:href="@{/favicon.ico}">
	<link rel="stylesheet" th:href="@{/pc/layui/css/layui.css}"  />
	<link rel="stylesheet" th:href="@{/pc/css/index.css}" />
	<link rel="stylesheet" th:href="@{/pc/dist/notice.css}" />

	<script type="text/javascript" th:src="@{/pc/layui/layui.js}"></script>
	<script type="text/javascript" th:src="@{/pc/js/jquery.min.js}"></script>
	<script type="text/javascript" th:src="@{/pc/js/cache.js}"></script>
	<script type="text/javascript" th:src="@{/pc/js/layer.js}"></script>

</head>
<body class="main_body">
 <input id="account" type="hidden" th:value="${session.currentUser.lAccount}">
	<div class="layui-layout layui-layout-admin">
		<!-- 顶部 -->
		<div class="layui-header header">
			<div class="layui-main mag0">
				<a href="#" class="logo">共享车位后台管理</a>
				<!-- 显示/隐藏菜单 -->
				<a href="javascript:;" class="seraph hideMenu icon-caidan"></a>
				<!-- 顶级菜单 -->
				<ul class="layui-nav mobileTopLevelMenus" mobile>
					<li class="layui-nav-item" data-menu="contentManagement">
						<i class="seraph icon-caidan"></i><cite>菜单</cite></a>
						<dl class="layui-nav-child">
							<shiro:hasRole name="物业">
							<dd class="layui-this" data-menu="communitysystem"><i class="layui-icon" data-icon="&#xe63c;">&#xe63c;</i><cite>物业管理</cite></a></dd>
							</shiro:hasRole>
							<shiro:hasRole name="系统管理员">
							<dd data-menu="platformsystem"><i class="seraph icon-icon10" data-icon="icon-icon10"></i><cite>平台管理</cite></a></dd>
							</shiro:hasRole>
						</dl>
					</li>
				</ul>
				<ul class="layui-nav topLevelMenus" pc>


					<shiro:hasRole name="物业">

						<li class="layui-nav-item layui-this" data-menu="communitysystem">
							<a href="javascript:;"><i class="layui-icon" data-icon="&#xe770;">&#xe770;</i><cite>物业管理</cite></a>
						</li>
					</shiro:hasRole>
					<shiro:hasRole name="系统管理员">
						<li class="layui-nav-item" data-menu="platformsystem" pc>
							<a href="javascript:;"><i class="seraph icon-icon10" data-icon="&#xe770;"></i><cite>平台管理</cite></a>
						</li>
					</shiro:hasRole>



				</ul>
			    <!-- 顶部右侧菜单 -->
			    <ul class="layui-nav top_menu">
					<li class="layui-nav-item" pc>
						<a href="javascript:;" class="clearCache"><i class="layui-icon" >&#xe640;</i><cite>清除缓存</cite></a>
					</li>
					<li class="layui-nav-item lockcms" pc>
						<a href="javascript:;"><i class="seraph icon-lock"></i><cite>锁屏</cite></a>
					</li>
					<li class="layui-nav-item" id="userInfo">
						<a href="javascript:;"><img th:src="@{/pc/images/face.jpg}" class="layui-nav-img userAvatar" width="35" height="35">
							<shiro:hasRole name="物业">
								<cite class="adminName">物业</cite>
							</shiro:hasRole>

							<shiro:hasRole name="系统管理员">
								<cite class="adminName">系统管理员</cite>
							</shiro:hasRole>
						</a>
						<dl class="layui-nav-child">



							<shiro:authenticated>
							<dd><a href="javascript:;" data-url="operation/resetPwd.html"><i class="seraph icon-xiugai" data-icon="icon-xiugai"></i><cite>修改密码</cite></a></dd>
							</shiro:authenticated>
							<shiro:hasRole name="系统管理员">
								<dd><a href="javascript:;" class="showNotice"><i class="layui-icon">&#xe645;</i><cite>消息公告</cite></a></dd>
							</shiro:hasRole>

							<dd pc><a href="javascript:;" class="functionSetting"><i class="layui-icon">&#xe620;</i><cite>功能设定</cite></a></dd>
							<dd pc><a href="javascript:;" class="changeSkin"><i class="layui-icon">&#xe61b;</i><cite>更换皮肤</cite></a></dd>
							<dd><a href="/sharepark/user/logout" class="signOut"><i class="seraph icon-tuichu"></i><cite>退出</cite></a></dd>
						</dl>
					</li>
				</ul>
			</div>
		</div>
		<!-- 左侧导航 -->
		<div class="layui-side layui-bg-black">
			<div class="user-photo">
				<a class="img" title="我的头像" ><img th:src="@{/pc/images/face.jpg}" class="userAvatar"></a>
				<p>你好！欢迎使用</p>
			</div>

			<div class="navBar layui-side-scroll" id="navBar">
				<ul class="layui-nav layui-nav-tree " >
					<li class="layui-nav-item layui-this">

						<shiro:hasRole name="物业">
							<a href="javascript:;" data-url="main.html"><i class="layui-icon" data-icon=""></i><cite>后台首页</cite></a>

						</shiro:hasRole>

						<shiro:hasRole name="系统管理员">

						<a href="javascript:;" data-url="main1.html"><i class="layui-icon" data-icon=""></i><cite>后台首页</cite></a>

						</shiro:hasRole>


					</li>
				</ul>
			</div>
		</div>
		<!-- 右侧内容 -->
		<div class="layui-body layui-form">
			<div class="layui-tab mag0" lay-filter="bodyTab" id="top_tabs_box">
				<ul class="layui-tab-title top_tab" id="top_tabs">
					<li class="layui-this" lay-id=""><i class="layui-icon">&#xe68e;</i> <cite>后台首页</cite></li>
				</ul>
				<ul class="layui-nav closeBox">
				  <li class="layui-nav-item">
				    <a href="javascript:;"><i class="layui-icon caozuo">&#xe643;</i> 页面操作</a>
				    <dl class="layui-nav-child">
					  <dd><a href="javascript:;" class="refresh refreshThis "><i class="layui-icon">&#x1002;</i> 刷新当前</a></dd>
				      <dd><a href="javascript:;" class="closePageOther"><i class="seraph icon-prohibit"></i> 关闭其他</a></dd>
				      <dd><a href="javascript:;" class="closePageAll"><i class="seraph icon-guanbi"></i> 关闭全部</a></dd>
				    </dl>
				  </li>
				</ul>
				<div class="layui-tab-content clildFrame">
					<div class="layui-tab-item layui-show">

						<shiro:hasRole name="物业">
						<iframe src="main.html"></iframe>
						</shiro:hasRole>
						<shiro:hasRole name="系统管理员">
						<iframe src="main1.html"></iframe>
						</shiro:hasRole>




					</div>
				</div>
			</div>
		</div>
		 <!--底部-->
		<div class="layui-footer footer">
			<p><span>copyright @2019 敬请期待</span>　　</p>
		</div>
	</div>


</body>
<script type="text/javascript" th:src="@{/pc/js/index.js}"></script>

</html>